<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
    {#定义宏#}

    {%  macro my_macro() %}
        用户名：<input type="text"value="{{ name }}"><br>
        密码：<input type="password"value="{{ password }}"><br>
    {% endmacro %}

    {#调用当前文件宏#}
    {{ my_macro() }}
    {#调用其他文件宏#}
    {%  import 'file08othermacro.html' as other %}
    {{ other.my_input() }}
    {{ other.my_div() }}


</body>
</html>